package zjt.string1;

public class demo3 {
    public static void main(String[] args) {
        StringBuffer sb = new StringBuffer();
        System.out.println(sb.capacity());

        sb.append("a");
        sb.append("b");
        sb.append("c");
        System.out.println(sb);
        String d1 = " 234 ";
        d1.trim();
        System.out.println(d1.trim());
        System.out.println(d1.charAt(1));

    }
}
